package com.sc.mapper.mapperauto;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.sc.pojo.House;

@Mapper
public interface HouseMapper {
    int deleteByPrimaryKey(Integer hid);

    int insert(House record);

    int insertSelective(House record);

    House selectByPrimaryKey(Integer hid);

    int updateByPrimaryKeySelective(House record);

    int updateByPrimaryKeyWithBLOBs(House record);

    int updateByPrimaryKey(House record);

    /**
     * 房屋、项目、户型查询通过项目id
     * 
     */
    List<House> selectItemsAndHouseAndDesigntype(int id);
}